/*
 *
 * @Date: 2022-06-15 15:54:35
 * @LastEditTime: 2022-06-19 20:50:56
 * @LastEditors:
 */
import {Component, Input, OnInit} from '@angular/core';
import {PostDetail} from "../../model/post-detail";
import {Location} from '@angular/common';

@Component({
  selector: 'app-help-detail',
  templateUrl: './help-detail.component.html',
  styleUrls: ['./help-detail.component.scss']
})
export class HelpDetailComponent implements OnInit {

  @Input() postDetail: PostDetail;

  constructor(
    private location: Location,

  ) { }

  ngOnInit() {
  }

  onLeftClick() {
    this.location.back();
  }
}
